package io.shallwe.common.model.base;
import com.jfinal.plugin.activerecord.IBean;
import com.jfinal.plugin.activerecord.Model;

public  abstract class BaseParameterLog<M extends BaseParameterLog<M>>  extends Model<M> implements IBean {
    /**
     * 时间
     * @param updateTime
     * @return
     */
    public M setUpdateTime(java.util.Date updateTime) {
        set("update_time", updateTime);
        return (M)this;
    }
    /**
     * 时间
     * @return
     */
    public java.util.Date getUpdateTime() {
        return get("update_time");
    }

    /**
     *
     * @param code
     * @return
     */
    public M setCode(java.lang.String code) {
        set("code", code);
        return (M)this;
    }

    public java.lang.String getCode() {
        return getStr("code");
    }

    public M setRemark(java.lang.String remark) {
        set("remark", remark);
        return (M)this;
    }

    public java.lang.String getRemark() {
        return getStr("remark");
    }

    public M setUnit(java.lang.String unit) {
        set("unit", unit);
        return (M)this;
    }

    public java.lang.String getUnit() {
        return getStr("unit");
    }

    public M setAddress(java.lang.String address) {
        set("address", address);
        return (M)this;
    }

    public java.lang.String getAddress() {
        return getStr("address");
    }

    public M setParamValue(java.lang.Double paramValue) {
        set("param_value", paramValue);
        return (M)this;
    }

    public java.lang.Double getParamValue() {
        return getDouble("param_value");
    }
}
